class CreditCard:
  password = '123456'
  def __init__(self, id, password='123456') -> None:
    if (password != self.password):
      self.password = password
      print("重置信用卡" + id + "的密码为" + self.password)
    else:
      print("信用卡"+id+"的默认密码为"+ self.password)
     

id = "40137355563627483"
creditCard1 = CreditCard(id);
creditCard2 = CreditCard(id, 'password');